﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel;

namespace SJ.Platform.EFCore.Model.ProjectManager
{
    [Table("project_schedule_task_change")]
    [Description("项目进度计划明细变更记录")]
    public partial class ProjectScheduleTaskChange
    {
        /// <summary>
        /// 主键
        /// </summary>
        public string? Id { get; set; }

        /// <summary>
        /// 原进度ID
        /// </summary>
        public string? OldId { get; set; }

        /// <summary>
        /// 主计划ID
        /// </summary>
        public string? MId { get; set; }

        /// <summary>
        /// 项目ID
        /// </summary>
        public string? ProjectId { get; set; }

        /// <summary>
        /// 任务名称
        /// </summary>
        public string? TaskName { get; set; }

        /// <summary>
        /// 父级ID
        /// </summary>
        public string? PId { get; set; }

        /// <summary>
        /// 父级名称
        /// </summary>
        public string? PName { get; set; }

        /// <summary>
        /// 需求ID
        /// </summary>
        public string? RId { get; set; }

        /// <summary>
        /// 需求名称
        /// </summary>
        public string? RName { get; set; }

        /// <summary>
        /// 功能ID
        /// </summary>
        public string? FId { get; set; }

        /// <summary>
        /// 功能标题
        /// </summary>
        public string? FTitle { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string? Mark { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? StartTime { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? EndTime { get; set; }

        /// <summary>
        /// 进度情况
        /// </summary>
        public decimal? Progress { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public int? Sort { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? AddTime { get; set; }

        /// <summary>
        /// 添加人ID
        /// </summary>
        public string? AddUserId { get; set; }

        /// <summary>
        /// 最后修改时间
        /// </summary>
        public DateTime? EditTime { get; set; }

        /// <summary>
        /// 最后修改人ID
        /// </summary>
        public string? EditUserId { get; set; }

        /// <summary>
        /// 是否通过（0=不通过，1=通过）
        /// </summary>
        public int? IsPass { get; set; }

        /// <summary>
        /// 变更ID
        /// </summary>
        public string? ChangeId { get; set; }

        /// <summary>
        /// 变更时间
        /// </summary>
        public DateTime ChangeTime { get; set; }

        /// <summary>
        /// 变更人ID
        /// </summary>
        public string? ChangeUserId { get; set; }
    }
}